<?php echo form::open('admin/register', array('method' => 'post')) ?>

<?php echo form::label('first_name','First Name') ?>
<?php echo form::input('first_name','',array('id' => 'first_name')) ?>
<?php if(Arr::get($errors, 'first_name')):?>
<?php echo Form::label('first_name', Arr::get($errors, 'first_name'), array('class' => 'error'));?>
<?php endif;?>


<?php echo form::label('last_name','Last Name') ?>
<?php echo form::input('last_name','',array('id' => 'last_name')) ?>
<?php if(Arr::get($errors, 'last_name')):?>
<?php echo Form::label('last_name', Arr::get($errors, 'last_name'), array('class' => 'error'));?>
<?php endif;?>


<?php echo form::label('email','E-mail') ?>
<?php echo form::input('email','',array('id' => 'email')) ?>
<?php if(Arr::get($errors, 'email')):?>
<?php echo Form::label('email', Arr::get($errors, 'email'), array('class' => 'error'));?>
<?php endif;?>


<?php echo form::label('username','Username') ?></td>
<?php echo form::input('username','',array('id' => 'username')) ?>
<?php if(Arr::get($errors, 'username')):?>
<?php echo Form::label('username', Arr::get($errors, 'username'), array('class' => 'error'));?>
<?php endif;?>

<?php echo form::label('password','Password') ?>
<?php echo form::password('password','',array('id' => 'password')) ?>
<?php if(Arr::path($errors, '_external.password')):?>
<?php echo Form::label('password', Arr::path($errors, '_external.password'), array('class' => 'error'));?>
<?php endif;?>


<?php echo form::label('password_confirm','Password Confirm') ?>
<?php echo form::password('password_confirm','',array('id' => 'password_confirm')) ?>
<?php if(Arr::path($errors, '_external.password_confirm')):?>
<?php echo Form::label('password_confirm', Arr::path($errors, '_external.password_confirm'), array('class' => 'error'));?>
<?php endif;?>

<br><br>

<?php echo form::submit('submit','Register') ?>
<?php echo form::close() ?>